package com.example.mybatisplus.des;

import lombok.Data;

/**
 * @Author longdeng
 * @Date 2020/9/17 0017 23:25
 */
@Data
public class User {

    private String userid;
    @Sensitive(strategy = SensitiveStrategy.USERNAME)
    private String name;
    private int age;

    public User() {
    }

    public User(String userid, String name, int age) {
        this.userid = userid;
        this.name = name;
        this.age = age;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
